An indication of the physical and chemical characteristics of a star based on the spectrum of light that it emits